package com.studentmanagement.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author hexujie
 * @date 2023-06-23 16:56
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_student")
public class StudentPO {
    @TableId(type = IdType.INPUT)
    private Integer studentId;
    private String name;
    private Integer majorId;
    //@TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer classId;
    private Integer age;
    private String sex;
}
